package com.puzzlebazar.client.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.puzzlebazar.client.admin.SiteInfo;

public interface SettingsService extends RemoteService {
	/**
	 * Make sure the database is initialized
	 * 
	 * @return True if initialization succeeded
	 */
	public boolean resetDatabase();
	
	/**
	 * Access all the information regarding this website
	 * 
	 * @return All the site information
	 */
	public SiteInfo loadSiteInfo();
	

	/**
	 * Change information for this website
	 * 
	 * @param siteInfo The new information for the website
	 * @return True if operation succeeded
	 */
	public boolean modifySiteInfo(SiteInfo siteInfo);
}
